﻿namespace NguyenHoa.Web.App_Code
{
  public struct CommonStatus
  {
    public const string Active = "A";
    public const string Disable = "D";
    public const string Blocked = "B";
  }

  public struct VisibleStatus
  {
    public const string Active = "A";
    public const string Disable = "D";
  }

  public struct NewsStatus
  {
    public const string Pending = "P";
    public const string Approval = "A";
    public const string Reject = "R";
  }
  public struct LimitLength
  {
    public const int Title = 100;
    public const int Summary = 512;
    public const int Name = 128;
  }

  public struct AllowFileContentType
  {
    public const string Image = "*.jpg; *.jpeg; *.png; *.gif";
    public const string All = "*.*";
  }

  public struct ContactPageType
  {
    public const string OnlineContact = "C";
    public const string OnlineSale = "S";
    public const string SendOpinion = "O";
  }

  public struct CustomerContactType
  {
    public const string Opinion = "O";
    public const string Contact = "C";
    public const string FAQ = "F";
  }

  public struct ContactType
  {
    public const string ContactInfo = "C";
    public const string CompanyAddress = "A";
    public const string Transfer = "T";
    public const string Hotline = "H";
    public const string YahooContact = "CY";
    public const string SkypeContact = "CS";
    public const string YahooSale = "SY";
    public const string SkypeSale = "SS";
    public const string ViewMap = "VM";
  }

  public struct OnlineType
  {
    public const string Yahoo = "Y";
    public const string Skype = "S";
    public const string Sale = "S";
    public const string Contact = "C";
  }

  public struct SessionName
  {
    public const string UploadedFiles = "UploadReturn";
    public const string PageType = "PageType";
    public const string Upload_ReturnFiles = "UploadedReturnFiles";
    public const string Upload_ContainPostedFile = "PostedFileContainer";
    public const string Upload_Folder = "UploadFolder";
    public const string Email_AttachFile = "EmailAttachment";

    public const string PhotoBackLink = "PhotoBackLink";
    public const string BookingRoom = "BookingRoom";

    public const string AlbumType = "AlbumType";
    public const string TourGroup = "TourGroup";
  }

  public struct FolderDirector
  {
    public const string UploadImage = "~/Upload/Images/";
    public const string UploadReport = "~/Upload/Reports/";
    public const string TempFolder = "~/Upload/Temp/";
    public const string Photo = "~/Upload/Photo/";
    public const string video = "~/Upload/Video/";

    public const string PreviewImage = "~/images/ImagePreview.png";
    public const string NotExistImage = "~/imagesnotExist_120x120.png";
    public const string EmptyVideo = "../images/video_202x129.jpg";
    public const string SwfPlayer = "../Swf/Player.swf";

    public const string PhoneImage = "../images/phone_";
    public const string BlankImage = "../images/blankImage.gif";
  }

  public struct AlbumType
  {
    public const string Gallery = "G";
    public const string Product = "P";
    public const string Other = "O";
  }
  public struct MultimediaType
  {
    public const string Photo = "P";
    public const string Video = "V";
    public const string Banner = "B";
    public const string Intro = "I";
  }

  public struct MenuTypes
  {
    public const string Admin = "A";
    public const string FrontEnd = "F";
  }

  public struct PermissionValue
  {
    public const int View = 1; //0001
    public const int Delete = 2; //0100
    public const int Modify = 4;// 0010
    public const int Approve = 8; //1000
  }

  public struct NewsCategoryType
  {
    public const string Normal = "N";
    public const string Promotion = "P";
  }

  public struct AdvertisementType
  {
    public const string Website = "W";
    public const string Advertisement = "A";
    public const string CustomerPartner = "P";
  }

  public struct AdvertisementPosition
  {
    public const int Left = 1;
    public const int Right = 2;
  }

  public struct SurveyChoiceType
  {
    public const string Single = "S";
    public const string Multiple = "M";
  }

  public struct SurveyDetailType
  {
    public const string Question = "Q";
    public const string Choice = "C";
    public const string OtherOpinion = "O";
  }

}
